The Superconducting Transmon Qubit As A Microwave Resonator